package ooday02;

public class Electronics {
    String name;
    int age;
    Electronics(){}
    Electronics(String name,int age){
        this.name = name;
        this.age = age;
    }
    void start(){
        System.out.println(name+"启动了");
    }
    void scrap(){
        System.out.println("我的"+name+"的使用年限是："+age);
    }
}
